home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Willard Press Kit
/
Willard Press Kit.iso
/
mac
/
Acrobat Reader 5
/
Acrobat Reader 5.0
/
Acrobat Reader 5.0.rsrc
/
EXVW_10032_admBookmarkProps
< prev
next >
Wrap
Text File
|
2001-09-24
|
3KB
|
72 lines
gColorMenuWidth = max( gColorLabelWidth, gStyleLabelWidth ) + 1;
gStyleMenuWidth = max(
zstring_width(zstring: '$$$avStylePlain'),
zstring_width(zstring: '$$$avStyleBold'),
zstring_width(zstring: '$$$avStyleItalic'),
zstring_width(zstring: '$$$avStyleBoldItalic') );
gMaxZoomWidth=max(
zstring_width(zstring: '$$$avFixedZoom'),
zstring_width(zstring: '$$$avFitView'),
zstring_width(zstring: '$$$avFitPage'),
zstring_width(zstring: '$$$avFitHeight'),
zstring_width(zstring: '$$$avFitWidth'),
zstring_width(zstring: '$$$avFitVisible'),
zstring_width(zstring: '$$$avInheritZoom'));
gMaxColorStyleWidth=max(
zstring_width(zstring: '$$$/Dialogs/ActionProps/Color'),
zstring_width(zstring: '$$$/Dialogs/BookmarkProps/Style'));
gEditButtonWidth = max(
zstring_width( zstring: '$$$avEditDest'),
zstring_width( zstring: '$$$avOpenFileButtonText'),
zstring_width( zstring: '$$$avThreadActionButtonText'),
zstring_width( zstring: '$$$avExecMenuButtonText')) + (max_char_width() * 4);
dialog(name: '$$$/Dialogs/BookmarkProps')
{
view(align_children: align_left)
{
cluster(item_id: 'cls1', name: '$$$/Dialogs/ActionProps/Action', align_children: align_left, alignment: align_fill)
{
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/ActionProps/Type');
popup(item_id: 'type', width: max_char_width() * 15);
}
static_text(item_id: 'inst', height: gStaticTextHeight*3, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
gap( height: gStaticTextHeight );
static_text(item_id: 'str1', height: gStaticTextHeight * 2, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
view(align_children: align_offscreen)
{
view(align_children: align_row)
{
static_text(item_id: 'mtxt', name: '$$$/Dialogs/ActionProps/Magnification');
popup(item_id: 'zoom', width: gMaxZoomWidth);
}
view(align_children: align_center)
{
button(item_id: 'bttn', width: gEditButtonWidth);
}
}
static_text(item_id: 'str2', height: gStaticTextHeight*3, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
}
cluster(name: '$$$/Dialogs/ActionProps/Appearance', align_children: align_left, alignment: align_fill)
{
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/ActionProps/Color', width: gMaxColorStyleWidth, alignment: align_right);
button(item_id: 'colr', picture: true, height: 20, width: 22);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/BookmarkProps/Style', width: gMaxColorStyleWidth, alignment: align_right);
popup(item_id: 'styl', width: gStyleMenuWidth );
}
}
ok_cancel(ok_name: '$$$avSetAction');
}
}